<div style="width:400px;float:left;margin-right:20px;">
  <div>
    <h5><a href="/calender/" >我的日程</a></h5>

<table class="calender" width="100%" >
<tbody>
<tr>
<? foreach($cal as $date => $data ) {?>
  <td width="50%" ><a href="/calender/edit/<?=$date?>/" style="height:200px;" >
  <span class="bk" ><?=$i++?'明':'今'?></span>
  <span><?=nl2br($data['task'])?></span>
  </a></td>
<? } ?>
</tr>
</tbody>
</table>
<a href="/calender/" >查看全部</a>
</div>
  <div>
    <h5>最近出资需求</h5>
    <table class="view" >
      <tr class="thl" >
        <th>基金</th>
        <th>日期</th>
        <th>金额(万元)</th>
      </tr>
    <?foreach($cc as $c){
      $fname = $c['sname']?$c['sname']:utf8_trim(substr($c['fund_name'],0,10));
      ?>
    <tr>
      <td><a href="/fund/money/<?=$c['id']?>" ><?=$fname?></a>
    </td><td><?=$c['cc_date']?>
    </td>
      <td><?=$c['cc_amount']?></td>
    </tr>
    <?}?>
    </table>
  </div>
  
</div>
<div style="width:550px;float:left;">
  
  
    
  
  
   <div>
    <h5>最新事件</h5>
    <table class="view" >
      <tr class="thl" >
        <th>项目</th> 
        <th> </th>
        <th width="150" >修改</th>
      </tr>
    <?foreach($event as $c){?>
    <tr>
      <td><a href="/<?=$c['type']?>/file/<?=$c['rel_id1']?>/" ><?=$c['title']?></a></td> 
       <td><a href="/<?=$c['type']?>/file/<?=$c['rel_id1']?>/" ><?=$c['fund']?></a></td> 
      <td><?=$c['update_people']?> <span class="date" ><?=__time($c['update_time'])?></span></td>
    </tr>
    <?}?>
    </table>
  </div>
  
    <div>
    <h5>最近更新基金</h5>
    <table class="view" >
      <tr class="thl" >
        <th>基金</th>
        <th width="150" >修改</th>
      </tr>
    <?foreach($funds as $c){?>
    <tr>
          <td><a href="/fund/view/<?=$c['id']?>/" ><?=$c[fund_name]?> </a></td>
      <td><?=$c['update_people']?> <span class="date" ><?=__time($c['update_time'])?></span></td>
    </tr>
    <?}?>
    </table>
  </div>
  
  
   <div>
    <h5>最近更新项目</h5>
    <table class="view" >
      <tr class="thl" >
        <th>项目</th>
        <th>基金</th>
        <th width="150" >修改</th>
      </tr>
    <?foreach($project as $c){?>
    <tr>
      <td width="260" ><a href="/project/view/<?=$c['id']?>/" ><?=$c['project_name']?></a></td>
      <td><a href="/fund/view/<?=$c['fund']?>/" ><?=$c[fund_name]?> </a></td>
      <td><?=$c['update_people']?> <span class="date" ><?=__time($c['update_time'])?></span></td>
    </tr>
    <?}?>
    </table>
  </div>

  
</div>
